TYPE=hotkey The commodities hotkey has been detected.
TYPE=kill The commodity has been requested to quit.
TYPE=unique Another commodity with the same name tried to start (but always fails)
TYPE=show The commodity has been requested to show its GUI.
TYPE=hide The commodity has been requested to hide its GUI.
TYPE=disable The commodity has been disabled.
TYPE=enable The commodity has been enabled.
With dis/enable your commodity is automatically enabled or disabled. You MUST respect this in your program. With other commodity events you SHOULD TRY to react in some proper way.
The next three types are included to alow for future enhancements of the Amiga Commodity ability.
TYPE=command SUBTYPE The commodity has received an unrecognized command. The subtype is the messageID.
TYPE=event SUBTYPE The commodity has received an unrecognized event. The subtype is the messageID.
TYPE= NUMBER SUBTYPE The commodity has received an unrecognized message type. Number is the message type, subtype is the messageID.
Commodity parameters
--------------------
You may only create one commodity object, per GUI.
CxName="name"
Name Commodities uses to identify this commodity.(REQUIRED)
CxPri=number
The priority of your commodity, defaults to 0.
CxTitle="title"
Title of commodity that appears in CXExchange.
CxDesc="description"
Description of the commodity.
CxHotkey=" hotkey description"
example CxHotKey="ctrl alt f1"
CxNoGui
Do not allow CXExchange to request GUI open and closing.
Definition Reply
-----------------
When the commodity creation is successful the pipe replies with
'ok'
Modify parameters
-----------------
Normally you should not need to disable or enable your commodity as it is handled automatically. This gives you the ability to override the automatic control, use it carefully.
Commodity=number
If number =0 then disable the commodity, else enable the commodity. Replied to with ok.